
import javax.swing.JPanel;
import javax.swing.border.BevelBorder;
import javax.swing.border.Border;
import javax.swing.BorderFactory;


public class ImagePanel extends JPanel{
	
	private static final long serialVersionUID = 1L;
	
	 public ImagePanel(int width, int height, int lx, int ly){
		//Panel Borders
		BevelBorder raisedBevel = (BevelBorder) BorderFactory.createBevelBorder(BevelBorder.RAISED);
		BevelBorder loweredBevel = (BevelBorder) BorderFactory.createBevelBorder(BevelBorder.LOWERED);
		Border border = BorderFactory.createCompoundBorder(raisedBevel, loweredBevel);

		setBorder(border);
		setLocation(lx,ly);
		setSize(width,height);
		 
	 }
	
}



